package com.ruoyi.binance.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自动单格对象 binance_auto_single_cell
 *
 * @author zq
 * @date 2025-09-15
 */
public class BinanceAutoSingleCell extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 代码 */
    private String code;

    /** 买入价格 */
    @Excel(name = "买入价格")
    private BigDecimal buyPric;

    /** 卖出价格 */
    @Excel(name = "卖出价格")
    private BigDecimal sellPric;

    /** 计算幅度% */
    @Excel(name = "计算幅度%")
    private BigDecimal calculateAmplitude;

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }

    public void setBuyPric(BigDecimal buyPric)
    {
        this.buyPric = buyPric;
    }

    public BigDecimal getBuyPric()
    {
        return buyPric;
    }

    public void setSellPric(BigDecimal sellPric)
    {
        this.sellPric = sellPric;
    }

    public BigDecimal getSellPric()
    {
        return sellPric;
    }

    public void setCalculateAmplitude(BigDecimal calculateAmplitude)
    {
        this.calculateAmplitude = calculateAmplitude;
    }

    public BigDecimal getCalculateAmplitude()
    {
        return calculateAmplitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("code", getCode())
                .append("buyPric", getBuyPric())
                .append("sellPric", getSellPric())
                .append("calculateAmplitude", getCalculateAmplitude())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
